.class Lcom/nemustech/regina/ElementReginaWidget$9;
.super Ljava/lang/Object;
.source "ElementReginaWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementReginaWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementReginaWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementReginaWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 259
    iput-object p1, p0, Lcom/nemustech/regina/ElementReginaWidget$9;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getImage(I)Landroid/graphics/Bitmap;
    .locals 5
    .parameter "faceIndex"

    .prologue
    .line 262
    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$9;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mWidget2DWidth:I

    iget-object v3, p0, Lcom/nemustech/regina/ElementReginaWidget$9;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v3, v3, Lcom/nemustech/regina/ElementReginaWidget;->mOneRow2DHeight:I

    sget-object v4, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v2, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 263
    .local v0, clickedPanelBitmap:Landroid/graphics/Bitmap;
    new-instance v1, Landroid/graphics/Canvas;

    invoke-direct {v1, v0}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    .line 264
    .local v1, clickedPanelCanvas:Landroid/graphics/Canvas;
    const v2, -0x777778

    sget-object v3, Landroid/graphics/PorterDuff$Mode;->LIGHTEN:Landroid/graphics/PorterDuff$Mode;

    invoke-virtual {v1, v2, v3}, Landroid/graphics/Canvas;->drawColor(ILandroid/graphics/PorterDuff$Mode;)V

    .line 265
    return-object v0
.end method
